package com.lc.fbtp.draftmsg.api.paper.cim.cim002;

import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.lc.fbtp.draftmsg.api.paper.OrgnlMsgId;

/**
 * 通用业务撤销报文
 * @author yeyun20029
 *
 */
public class CIM002 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -5250737939910021872L;

	/**
	 * 报文标识
	 */
	private MsgId MsgId;
	
	/**
	 * 原报文标识
	 */
	private OrgnlMsgId OrgnlMsgId;
	
	/**
	 * 撤销信息
	 */
	private CxlPropsr CxlPropsr;

	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public OrgnlMsgId getOrgnlMsgId() {
		return OrgnlMsgId;
	}

	public void setOrgnlMsgId(OrgnlMsgId orgnlMsgId) {
		OrgnlMsgId = orgnlMsgId;
	}

	public CxlPropsr getCxlPropsr() {
		return CxlPropsr;
	}

	public void setCxlPropsr(CxlPropsr cxlPropsr) {
		CxlPropsr = cxlPropsr;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return OrgnlMsgId.getId();
	}
	
}
